package com.pro.mapper;

import com.pro.pojo.JsMicroLog;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.Date;
import java.util.List;

/**
 * ClassName:JsMicroLogMapper
 * Package:com.pro.mapper
 * Description: 微圈操作日志
 *
 * @Date:2021/12/2 下午 8:26
 * @Author: WYH
 */
public interface JsMicroLogMapper {
    Boolean addMicroLog(JsMicroLog jsMicroLog);

    /**
     * @author WYH
     * @date 2021/12/3 上午 10:58
     * @content : 查询微圈操作
     */
    List<JsMicroLog> getAllMicroLog(@Param("trueName") String trueName, @Param("createDate") String createDate,@Param("page") Integer page, @Param("limit") Integer limit);

    /**
     * @author WYH
     * @date 2021/12/3 上午 11:46
     * @content : 计算总个数
     */
    int count(@Param("trueName") String trueName, @Param("createDate") String createDate);

    /**
     * @author WYH
     * @date 2021/12/3 下午 1:57
     * @content : 删除微圈操作
     */
    Boolean delMicroLog(@Param("logId") Integer logId);

}
